<?php 
global $header;
global $footer;
global $control;
global $message;
global $serial;
global $glossary;

global $featureManager;
$header['title'] = 'Select modes for adding terms';
$header['head'] = '';
$header['intro'] = '<em class="title">'.$glossary['title'].'</em>';
$featureManager->apply("com.yizin.platform.site.header", $header);
$featureManager->apply("com.yizin.platform.site.footer", $footer);
$featureManager->apply("com.yizin.platform.site.control", $control);
?>
<?= $header['html']?>
<div class="container-L">
	<?=$control['html']?>
</div>

<style type="text/css">
table.add-terms-modes {
	width:100%;margin:1em 0
}
table.add-terms-modes th {
	font-size:20px;
	font-weight:bold;
	text-align:center;
	width:50%
}
table.add-terms-modes td ul li {
	list-style: disc;
	margin-left: 4em;
	padding-right: 2em;
}
</style>

<div class="container-R">
	<?=Utils::showMessage($message)?>
	<h3>Select modes for adding terms</h3>
	<table class="add-terms-modes">
		<tr>
			<th>Once many</th>
			<th>One by one</th>
		</tr>
		<tr>
			<td style="text-align:center;"><img src="<?=RESOURCE_BASE?>glossary/add_terms_mode_oncemany.gif" alt="Once many mode" /></td>
			<td style="text-align:center;"><img src="<?=RESOURCE_BASE?>glossary/add_terms_mode_onebyone.gif" alt="One by one mode" /></td>
		</tr>
		<tr>
			<td><ul><li>Enter many terms in one page and add them into the repository by one click</li><li>Edit terms and their definitions only</li></ul></td>
			<td><ul><li>Enter one term in one page and enter another in a new page after saving the previous term</li><li>Edit full metadata (preferred term, abbreviation, full forms, notes, etc.)</li></ul></td>
		</tr>
		<tr>
			<td style="padding-top:1.5em"><a href="<?=REQUEST_BASE?>glossary/<?=$serial?>/addterms/" class="buttonlike" style="margin-left:10em">Select</a></td>
			<td style="padding-top:1.5em"><a href="<?=REQUEST_BASE?>glossary/<?=$serial?>/addterms_onebyone/" class="buttonlike" style="margin-left:10em">Select</a></td>
		</tr>
	</table>
	<p class="indent"><a href="<?=REQUEST_BASE?>glossary/<?=$serial?>/show/">&laquo; Return to the terms</a></p>
	<div class="vspacing"></div>
</div>
<?= $footer['html']?>
